package com.hongtech.modules.knowledge.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 疾病知识表
 *
 * @author admin 123456789@qq.com
 * @since 1.0.0 2023-09-01
 */
@Data
@TableName("k_disease_info")
public class DiseaseInfoEntity {

	private Long id;
    /**
     * 疾病名称
     */
	private String name;
    /**
     * 疾病介绍
     */
	private String introduction;
    /**
     * 所属科室ID
     */
	private Long departmentId;
    /**
     * 所属科室名称
     */
	private String departmentName;
    /**
     * 所属身体部位ID
     */
	private Long positionId;
    /**
     * 所属身体部位名称
     */
	private String positionName;
    /**
     * 发病率ID
     */
	private Long morbidityId;
    /**
     * 发病率名称
     */
	private String morbidityName;
    /**
     * 临床表现
     */
	private String symptomDescription;
    /**
     * 检查
     */
	private String checkDescription;
    /**
     * 治疗
     */
	private String treatment;
    /**
     * 预防
     */
	private String prevention;
    /**
     * 并发症
     */
	private String concurrent;
    /**
     * 诊断
     */
	private String diagnosis;
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    /**
     * 更新时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

}